import { observable, action, computed, autorun } from 'mobx';

export default class Mail {
  @observable
  mail = 1
  @action
  addMail() {
    this.mail += 1;
  }
  @computed get bool() {
    return this.mail;
  }
}
